#pragma once

#include "SpriteText.h"
#include <iostream>
#include <iomanip>

#define SCORE_TEXT_PATH "PressStart2P.ttf"
#define SCORE_TEXT_SIZE 32

class Score : public SpriteText
{
public:
	Score();
	Score(int x, int y, const std::string& message);
	virtual ~Score();

	int GetScore() { return score; }

	void SetScore(int score)
	{
		this->score = score;
		changeMade = true;
	}
	
	void AddPoints(int point);
	
	void Update(float dt);
private:
	int score;
	bool changeMade;
};

